package com.example.acitividemo2.service;

import com.example.acitividemo2.annotation.BeanOverride;
import org.springframework.stereotype.Service;

@BeanOverride(name = "testServiceImpl")
@Service
public class TestServiceImpl2 extends TestServiceImpl {

    @Override
    public String getMessage() {
        return "TestServiceImpl2 重写了方法 message";
    }

}
